import json


class Utils:
    # 读取json文件
    # 获取字典的value：dict.values()
    # 获取字典的key：  dict.keys()
    # 获取字典键值对数据： dict.items()
    def read_json(self, file_path):
        test_data = []
        with open(file_path, encoding='utf-8') as f:
            json_data = json.load(f)
            for i in json_data:
               test_data.append(tuple(i.values()))
        return test_data



if __name__ == '__main__':
    print(Utils().read_json('data/login.json'))